Notes/Domino Fix List
SPR # YSAI5VL7JFFixed in 6.5.6 releaseTemplate fix: mail6.ntf, mail6ex.ntf



Product Area: Client; Template Technical Area: Mail Client Platform: Cross Platform

Lotus Customer Support APAR: LO12377

SPR# YSAI5VL7JF - Modified the AddSenderToAddressBook agent to make sure we update the invitee count by 1 during the loop. Prior to this fix, if two person documents are selected and "Add Sender to Address Book" is run, their name and alternate name will be interchanged and will be registered.

Technote Number: 1463604

Problem:
This issue was reported to Quality Engineering as SPR# YSAI5VL7JF and fixed in
Notes 6.5.6.

Excerpt from the Lotus Notes and Domino Release 6.5.6 MR fix list (available at
http://www.ibm.com/developerworks/lotus):

Mail Client
Template fix: mail6.ntf, mail6ex.ntf
SPR# YSAI5VL7JF - Modified the AddSenderToAddressBook agent to make sure we
update the invitee count by 1 during the loop. Prior to this fix, if two person
documents are selected and "Add Sender to Address Book" is run, their name and
alternate name will be interchanged and will be registered.

The issue occurs only with the Notes 6.x mail template. It does not occur with
the Notes 5.x and Notes 7.x mail templates. Also, this issue does not occur in
non-Alternate name environments.

How to fix existing documents:

To help identify problem documents, an agent can be written with LotusScript to
scan the documents in the Personal Name & Address book, find the problem
documents, and fix them. The code in the following LSS file can be used in a
LotusScript agent to perform this task.

IMPORTANT NOTE: The code in this document has been provided as an example of
how to approach this functionality. IBM Lotus Technical Support does not
support this script and cannot customize it for a customer's specific
configuration.




1. Open the mail template Domino Designer.
2. Create new agent with [Create - Agent] menu.
3. Set an appropriate agent name & setting on Agent Properties.
Name: Check Personal Address Book
Runtime: Action Menu Selection
Target: none

4. Right-click and select Import. Select the CheckPersonalAddressBook.lss file
to import.
5. Save this agent

Once this agent runs, a log message will be sent to an user who ran the agent
as well as an administrator. The default setting for the administrator is
"LocalDomainAdmins". If you want to change this address, edit the following
lines in agent code to include the appropriate recipients.

' PLEASE CHANGE HERE! It send agent log to a central location such as an
administrator.
' Default it send to LocalDomainAdmins group.
logdoc.CopyTo = "LocalDomainAdmins"

This tool will search for Person documents in the local Name & Address book and
then compare them to the available directories on the user's mail server. If a
Person document is found with an incorrect alternate name, this agent code will
correct that name or it will delete that name depending on the situation.
Person documents that should not have an alternate name (e.g. Internet mail
system users) will have any alternate name removed. Care is taken to save the
removed data to ensure that mistakes can be reversed.

Going forward:

To fix the problem in the 6.0.x and 6.5.x mail templates, the following LSS
files can be imported into the template. These files will overwrite the
existing LotusScript code and replace it will updated code which contains fixes
for the problem described by SPR# YSAI5VL7JF. At the end of the procedure, the
design elements will be re-signed by the user performing this action. Take
note of this and be sure to use the appropriate user ID when modifying the
LotusScript.



1. Open mail template from Domino Designer.
2. Open the "AddSenderToAddressBook" agent.
3. Click (Options).
4. Click right mouse and select Import. Select the AddSenderToAddressBook.lss
file to import.
5. Select "Yes to All" when prompted by the following message:

Object: AddSenderToAddressBook Event: Sub Initialize already contains script.
Do you wish to replace it with the script in the Sub Initialize being imported?

6. Save this agent.
7. Open (NameHelper) form.
8. Click (Options).
9. Click right mouse and select Import. Select the NameHelper.lss file to
import.
10. Select "Yes to All" when prompted as before.
11. Save this form.
More >



Last Modified on 12/11/2013

Go back